package com.libraryManage.commons.utils;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class PagingEntity implements Serializable {

    @ApiModelProperty(value="当前页")
    private int pageNum;

    @ApiModelProperty(value="每页数量")
    private int pageSize;

    @ApiModelProperty(value="排序字段")
    private String orderBy;

    @ApiModelProperty(value="排序方式")
    private String sort;

}
